package com.yonyou.train;

import java.util.Map;

public class Message {
/*提示码*/
    private Integer code;
    /*提示信息*/
    private String msg;
    /*数据内容*/
    private Object data;



    public Message(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Message(Integer code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }




    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public Object getData() {
        return data;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setData(Object data) {
        this.data = data;
    }


}
